package com.itic.web.vedio.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.itic.appbase.framework.common.controller.BaseController;
import com.itic.appbase.framework.plugins.mybatis.Page;
import com.itic.web.qo.TokenData;
import com.itic.web.ro.ResResult;
import com.itic.web.vedio.service.AppVedioService;



@Controller
@RequestMapping(value="/app/vedio")
public class AppVedioController extends BaseController {

	
    @Autowired
    private AppVedioService appVedioService;
    
    /**
     * @param token
     * @return
     */
    @RequestMapping(value = "/getTopicList")
    @ResponseBody
    public ResResult getTopicList(TokenData data,String topicType,Page page){
    	return appVedioService.getTopicList(data,topicType,page);
    }
    /**
     * @param token
     * @return
     */
    @RequestMapping(value = "/getDetail")
    @ResponseBody
    public ResResult getDetail(TokenData data,String topicType,String id){
    	return appVedioService.getDetail(data,topicType,id);
    	  
    }

    
}